#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
    int height;
    cin>>height;
    float weight;
    weight = (height - 100) * 0.9 * 2;
    cout<<fixed<<setprecision(1)<<weight;
}